# # cmd/tun2socks/main.go:145:21: undefined: core.NewLWIPStack
# # cmd/tun2socks/main.go:165:7: undefined: core.RegisterOutputFn
CGO_ENABLED=0 \
GOARCH=amd64 GOOS=linux \
  go build -o tun2socks-x64 -v -ldflags "-s -w $flags" ./cmd/tun2socks/

# +tun2socks-arm64
# CGO_ENABLED=0 \
# GOARM=7 GOARCH=arm64 GOOS=linux \
#   go build -o tun2socks-arm64 -v -ldflags "-s -w $flags" ./cmd/tun2socks/

# # +tun2socks-arm
# # CGO_ENABLED=0 \
# GOARM=7 GOARCH=arm GOOS=linux \
#   go build -o tun2socks-armv7 -v -ldflags "-s -w $flags" ./cmd/tun2socks/

# # +tun2socks-win64
# # CGO_ENABLED=0 \
# GOARCH=amd64 GOOS=windows \
#   go build -o tun2socks-win64 -v -ldflags "-s -w $flags" ./cmd/tun2socks/

# # pack
# one=tun2socks
# tar -zcf $one-x64.tar.gz $one-x64
# tar -zcf $one-arm64.tar.gz $one-arm64
# tar -zcf $one-armv7.tar.gz $one-armv7
# # tar -zcf $one-win64.tar.gz $one-win64.exe
# ls -lh $one-* |grep -v tar.gz
# ls -lh $one-*.tar.gz
